import unittest
from dev.cal import Calculate

calc = Calculate()
sum = calc.add(1, 2, 3, 4)
reduce = calc.reduce(10, 9)


class CalcTest(unittest.TestCase):

    def setUp(self) -> None:
        print("setUp")

    def tearDown(self) -> None:
        print("teardown")

    def test_add(self):
        print("testadd")
        self.assertEqual(sum, 10)

    def test_reduce(self):
        print("test_reduce")
        self.assertEqual(reduce, 1)


